package com.baseweb.webadmin.core.model.bvo;

import com.baseweb.webadmin.core.model.pojo.ByChannel;
import com.baseweb.webadmin.core.model.pojo.ByUserBizProduct;
import com.baseweb.webadmin.core.model.pojo.ByUserOrder;
import com.baseweb.webadmin.core.model.pojo.User;
import org.joda.time.DateTime;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

public class ChannelWithBizListBvo {
    private List<ByChannel> merClassifyVoList;

    private List<User> merListVoList;

    public static ChannelWithBizListBvo copyFrom(List<ByChannel> byChannels, List<User> users) {
        ChannelWithBizListBvo bvo = new ChannelWithBizListBvo();
        bvo.setMerClassifyVoList(byChannels);
        bvo.setMerListVoList(users);
        return bvo;
    }

    public static ChannelWithBizListBvo copyFrom(ByChannel byChannel, List<User> users) {
        ChannelWithBizListBvo bvo = new ChannelWithBizListBvo();
        List<ByChannel> channels = new ArrayList<ByChannel>();
        channels.add(byChannel);
        bvo.setMerClassifyVoList(channels);
        bvo.setMerListVoList(users);
        return bvo;
    }

    public List<ByChannel> getMerClassifyVoList() {
        return merClassifyVoList;
    }

    public void setMerClassifyVoList(List<ByChannel> merClassifyVoList) {
        this.merClassifyVoList = merClassifyVoList;
    }

    public List<User> getMerListVoList() {
        return merListVoList;
    }

    public void setMerListVoList(List<User> merListVoList) {
        this.merListVoList = merListVoList;
    }
}
